<%@ page pageEncoding="UTF-8" %>

<jsp:include page="WEB-INF/jspf/lefter.jspf">
    <jsp:param name="par1" value="val1 from index"/>
    <jsp:param name="par2" value="val2 from index"/>
</jsp:include>
<id class="container">
<h1>Главная страница!</h1>
    
</div>
<%--
<jsp:useBean id="st" class="model.Student">
    <jsp:setProperty name="st" property="lastName" value="Иванов"/>
    <jsp:setProperty name="st" property="firstName" value="Игорь"/>
    <jsp:setProperty name="st" property="email" value="fsd@ww.com"/>
    <jsp:setProperty name="st" property="dateOfBirth" value="<%= new java.util.Date()%>"/>
</jsp:useBean>
Имя:<br/>     
<jsp:getProperty name="st" property="lastName"/><br/>
<jsp:getProperty name="st" property="firstName" /><br/>
<jsp:getProperty name="st" property="email" /><br/>
<jsp:getProperty name="st" property="dateOfBirth"/><br/>


<jsp:useBean id="sts" class="model.Database" />
<c:set var="ageTotal" value="${pageScope.sts.sudents}" />
<c:forEach var="person" items="${sts.students}">
  <tr><td>${person.lastName}<td><td>${person.dateOfBirth}</td></tr>
</c:forEach>

--%>